<!-- src/main/resources/templates/login.html -->
<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" lang="en">
<head>
  <title>Login Page</title>
</head>
<body>
<h2>Login Form</h2>
<form th:action="@{/login/submit}" th:object="${login}" method="post">
  <div>
    <label for="username">Username:</label>
    <input type="text" id="username" name="username" required="required"/>
  </div>
  <div>
    <label for="password">Password:</label>
    <input type="password" id="password" name="password" required="required"/>
  </div>
  <div>
    <button type="submit">Login</button>
  </div>
</form>
</body>
</html>